/* scss文件 */

.router {
    list-style: none;
    a {
        text-decoration: none;
    }
}

// 表格--form
.form-group {
    padding: 10px;
}

.app-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
    padding: 0 16px 0 0;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .3);
    min-height: 64px;
    display: flex;
    box-sizing: border-box;
    width: 100%;
    padding: 0 16px;
    flex-direction: column;
    background: #1976d2;
    color: #fff;
    &-content {
        flex: 1;
        display: flex;
        flex-direction: row;
        align-items: center;
        height: 64px;
    }
    &-icon {
        padding: 0 20px;
    }
    &-title {
        padding: 0 15px;
        font-size: 18px;
    }
    &-search {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
        min-width: 150px;
        height: 100%;
    }
}

.search-input {
    color: #333;
    border: none;
    border-radius: 100px;
    background-color: #fafafa;
    padding: 5px 16px;
    box-sizing: border-box;
    margin-left: 8px;
    width: 180px;
    max-width: 240px;
    height: 50%;
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
    transition: width .4s ease-in-out;
}

.header-nav {
    display: flex;
    &-item {
        padding: 10px;
    }
}

.app-main {
    min-height: 100%;
    height: auto!important;
    max-width: 100%;
    margin: 0;
    -webkit-transform: none;
    transform: none;
    position: relative;
    display: block;
    overflow: hidden;
    background-color: #fafafa;
    color: rgba(0, 0, 0, .87);
    font-size: 14px;
    max-width: 82%;
}

.app-sidenav {
    position: fixed;
    top: 64px;
    bottom: 0;
    left: 0;
    padding: 0;
    min-width: 260px;
    background-color: #fafafa;
    box-shadow: 6px 0 6px rgba(0, 0, 0, .1);
    /* height: calc(100vh - 64px); */
    transition: transform .4s cubic-bezier(.25, .8, .25, 1);
    z-index: 1;
    outline: 0;
    box-sizing: border-box;
    height: 100%;
    overflow-y: auto;
    color: rgba(0, 0, 0, .87);
}

.app-content {
    margin-left: 260px;
    margin-right: 0px;
    transform: translate3d(0px, 0px, 0px);
    transition-duration: .4s;
    transition-timing-function: cubic-bezier(.25, .8, .25, 1);
    transition-property: transform, margin-left, margin-right;
    position: relative;
    transform: translate3d(0, 0, 0);
    display: block;
    height: 100%;
    overflow: auto;
}

.toc-container {
    width: 18%;
    position: fixed;
    top: 76px;
    right: 0;
    bottom: 12px;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidenav-content {
    min-height: 100vh;
    padding: 70px 3rem 1rem;
}

